﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DapperExtensions.Mapper;

namespace ZLWeb.WebApiEntity.EasyUse
{
    public class dpno
    {
        private string _pno = string.Empty;
        private string _pnopwd = string.Empty;

        public string pno
        {
            get { return _pno; }
            set { _pno = value; }
        }

        public string pnopwd
        {
            get { return _pnopwd; }
            set { _pnopwd = value; }
        }
    }

    public class dpnoMapper : ClassMapper<dpno>
    {
        public dpnoMapper()
        {
            Table("#pno");
            Map(f => f.pno).Column("pno");
            Map(f => f.pnopwd).Column("pnopwd");
        }
    }
}
